package com.ym.medical.service;


import com.ym.core.utils.tkmybatis.IBaseSV;
import com.ym.medical.domain.bo.PublishCouponTarget;
import com.ym.medical.domain.entity.CouponReceiveRecordEntity;

import java.util.List;

/**
 * @author: 张文博
 * @version: 2019年09月02日 9:46
 */
public interface ICouponReceiveRecordSV extends IBaseSV<CouponReceiveRecordEntity> {
    /**发放优惠劵
     * @param couponId 优惠劵id
     * @param whoeSend  谁发的
     * @param target 发给谁
     * @param sendWay 发送方式(key='CouponSendWayEnum')
     * @param businessId 相关业务id
     * @return
     */
    List<Long> publishCoupon(Long couponId, String sendWay, Long businessId, Long whoeSend, String remark , PublishCouponTarget...target);

    /**
     * 两周内随访的患者集合名
     * @param ids
     * @return
     */
    List<String> TowWeekRecord(Long[] ids);
}
